/* 最外层容器 100% */
#promo.promo-100 {
  width: 100%;
  padding-top: 100px;
}

#promo .container {
  width: 1140px;
  height: 205px;
  margin: 0 auto;
  padding: 0 15px;
}

/* 左侧图片 */
#promo .left {
  width: 400px;
  float: left;
  background: rgba(247, 235, 219, 1) url("http://localhost:8282/image/goods/pb-2-1.jpg") no-repeat;
}

/* 右侧图片 */
#promo .right {
  width: 580px;
  float: right;
  background: rgba(247, 235, 219, 1) url("http://localhost:8282/image/goods/pb-2-2.jpg") no-repeat;
}

/* 左右两侧 文字 边距等设置 */
#promo .right,
#promo .left {
  padding: 80px 35px 50px;
  height: 155px;
  background-size: 90%;
  text-align: right;
  color: #6f5e4d;
  font-family: "Oswald", sans-serif;
  text-transform: uppercase;
  font-size: 2.25rem;
  font-weight: bolder;
  letter-spacing: 0;
  line-height: 3rem;
  border-radius: 2px;
}

#promo .right h4:nth-child(1),
#promo .left h4:nth-child(1) {
  font-weight: normal;
}

/* 按钮样式 */
#promo .container .btn {
  margin-top: 20px;
  padding: 10px 32px;
  background-color: #e3000e;
  color: #fff;
  font-size: 16px;
  letter-spacing: 1px;
  border: 1px solid;
  border-color: #e3000e !important;
  font-weight: bold;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 400ms;
  border-radius: 2px;
}

/* 按钮动画 */
#promo .container a.btn:hover {
  color: #e3000e !important;
  background-color: transparent;
  border-color: #e3000e !important;
}

/* =========================menu 图片部分=========================== */
#menu.menu-100-70 {
  width: 100%;
  padding: 200px 0 30px 0;
}

#menu .container {
  width: 1140px;
  margin: 0 auto;
}

/* 这一个模块使用 flex 布局 */
#menu .container .row {
  width: 1140px;
  /* height: 900px; */
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  /* 允许换行 */
  margin: 0 -15px;
  justify-content: space-between;
  /* 多余的空间平均分布 */
}

#menu .container .row .item {
  flex: 0 0 24%;
  max-width: 24%;
  background-color: #fafafa;
  border: 1px solid #e5e5e5;
  border-radius: 6px;
  margin-bottom: 30px;
}

/* 图片样式设置 */
#menu .container .item .pic {
  width: 100%;
  overflow: hidden;
  position: relative;
}

#menu .container .item .pic img {
  width: 100%;
  height: auto;
  border-radius: 6px 6px 0 0;
  transition: all 500ms;
}

/* 图片上的编码 */
#menu .container .item .item-code {
  position: absolute;
  top: 15px;
  left: 15px;
  padding: 7px 8px;
  text-transform: uppercase;
  color: #fff;
  border-radius: 6px;
  background-color: rgba(10, 10, 10, 0.4);
  font-size: 0.915rem;
}

/* 放大缩小图标 */
#menu .container .item .item-zoom-ico {
  position: absolute;
  display: block;
  width: 34px;
  height: 34px;
  line-height: 34px;
  text-align: center;
  background-color: rgba(20, 20, 20, 0.45);
  border-radius: 100%;
  left: 15px;
  bottom: 15px;
  color: #fff;
  cursor: pointer;
}

/* =========================menu 文字部分=========================== */
#menu .container .item .txt {
  overflow: hidden;
  padding: 25px 20px;
  position: relative;
}

/* 关注 */
#menu .container .item .txt a.collect {
  display: block;
  position: absolute;
  top: 28px;
  right: 15px;
  text-decoration: none;
}

/* 商品标题 */
#menu .container .item .txt h5.title {
  font-size: 1.375rem;
  margin: 5px 0 10px 0;
  line-height: 1.3;
  font-weight: bold;
  text-transform: uppercase;
  font-family: "Oswald", sans-serif;
}

/* 商品描述 */
#menu .container .item .txt p {
  font-family: "Roboto", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: #757575;
  font-size: 0.95rem;
  margin-bottom: 15px;
}

/* 商品价格 */
#menu .container .item .txt h5.price {
  display: inline-block;
  padding: 7px 12px;
  border-radius: 4px;
  background-color: #642f21;
  color: #f7be27;
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.5px;
  line-height: 1;
  font-family: "Oswald", sans-serif;
}

/* 加入购物车 */
#menu .container .item .txt a.cart {
  opacity: 0;
  position: absolute;
  right: 20px;
  bottom: 15px;
  display: inline-block;
  font-size: 0.9rem;
  line-height: 1;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 4px;
  transition: all 500ms;
  font-size: 0.9rem;
  background-color: #f7be27;
}

/* CSS3 动画 购物车和图片放大动画 */
#menu .container .item:hover a.cart {
  opacity: 1;
  transform: translateY(-10px);
}

#menu .container .item:hover img {
  transform: scale(1.2);
}
